Optimal. Leaf size=136 \[ -\frac {\sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{d (a \sec (c+d x)+a)}+\frac {3 \sin (c+d x) \sqrt {\sec (c+d x)}}{a d}-\frac {\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a d}-\frac {3 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.15, antiderivative size = 136, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.304, Rules used = {3238, 3818, 3787, 3771, 2641, 3768, 2639} \[ -\frac {\sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{d (a \sec (c+d x)+a)}+\frac {3 \sin (c+d x) \sqrt {\sec (c+d x)}}{a d}-\frac {\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a d}-\frac {3 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2639
Rule 2641
Rule 3238
Rule 3768
Rule 3771
Rule 3787
Rule 3818
Rubi steps
\begin {align*} \int \frac {\sec ^{\frac {3}{2}}(c+d x)}{a+a \cos (c+d x)} \, dx &=\int \frac {\sec ^{\frac {5}{2}}(c+d x)}{a+a \sec (c+d x)} \, dx\\ &=-\frac {\sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{d (a+a \sec (c+d x))}-\frac {\int \sqrt {\sec (c+d x)} \left (\frac {a}{2}-\frac {3}{2} a \sec (c+d x)\right ) \, dx}{a^2}\\ &=-\frac {\sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{d (a+a \sec (c+d x))}-\frac {\int \sqrt {\sec (c+d x)} \, dx}{2 a}+\frac {3 \int \sec ^{\frac {3}{2}}(c+d x) \, dx}{2 a}\\ &=\frac {3 \sqrt {\sec (c+d x)} \sin (c+d x)}{a d}-\frac {\sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{d (a+a \sec (c+d x))}-\frac {3 \int \frac {1}{\sqrt {\sec (c+d x)}} \, dx}{2 a}-\frac {\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{2 a}\\ &=-\frac {\sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {\sec (c+d x)}}{a d}+\frac {3 \sqrt {\sec (c+d x)} \sin (c+d x)}{a d}-\frac {\sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{d (a+a \sec (c+d x))}-\frac {\left (3 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \sqrt {\cos (c+d x)} \, dx}{2 a}\\ &=-\frac {3 \sqrt {\cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {\sec (c+d x)}}{a d}-\frac {\sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {\sec (c+d x)}}{a d}+\frac {3 \sqrt {\sec (c+d x)} \sin (c+d x)}{a d}-\frac {\sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{d (a+a \sec (c+d x))}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 1.96, size = 256, normalized size = 1.88 \[ \frac {\cos ^2\left (\frac {1}{2} (c+d x)\right ) \left (\frac {\sqrt {\sec (c+d x)} \left (6 \csc (c) \cos (d x)-2 \tan \left (\frac {1}{2} (c+d x)\right )\right )}{d}-\frac {2 i \sqrt {2} e^{-i (c+d x)} \sqrt {\frac {e^{i (c+d x)}}{1+e^{2 i (c+d x)}}} \left (3 \left (-1+e^{2 i c}\right ) \sqrt {1+e^{2 i (c+d x)}} \, _2F_1\left (-\frac {1}{4},\frac {1}{2};\frac {3}{4};-e^{2 i (c+d x)}\right )-\left (-1+e^{2 i c}\right ) e^{i (c+d x)} \sqrt {1+e^{2 i (c+d x)}} \, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};-e^{2 i (c+d x)}\right )+3 \left (1+e^{2 i (c+d x)}\right )\right )}{\left (-1+e^{2 i c}\right ) d}\right )}{a (\cos (c+d x)+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.09, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sec \left (d x + c\right )^{\frac {3}{2}}}{a \cos \left (d x + c\right ) + a}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec \left (d x + c\right )^{\frac {3}{2}}}{a \cos \left (d x + c\right ) + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.66, size = 253, normalized size = 1.86 \[ -\frac {-\cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}\, \left (\EllipticF \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )-3 \EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )\right )+6 \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}\, \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-5 \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}\, \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{a \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}\, \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec \left (d x + c\right )^{\frac {3}{2}}}{a \cos \left (d x + c\right ) + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (\frac {1}{\cos \left (c+d\,x\right )}\right )}^{3/2}}{a+a\,\cos \left (c+d\,x\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {\sec ^{\frac {3}{2}}{\left (c + d x \right )}}{\cos {\left (c + d x \right )} + 1}\, dx}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________